home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 4_0 / DIZZY / SRC / XSTUFF.H < prev    next >
Text File  |  1991-01-03  |  1KB  |  45 lines

  1. /*
  2. >>    This file contains the X dependent defines for Dizzy
  3. >>
  4. >>    Copyright 1990 Juri Munkki, all rights reserved
  5. >>
  6. >>    You are entitled to do whatever you wish with this program, as long as
  7. >>    you give credit all those people, who have worked on this program. If
  8. >>    you are going to sell this program or obtain commercial benefit from it
  9. >>    otherwise, please consult the authors first to obtain information about
  10. >>    licensing this program for commercial use.
  11. >>
  12. */
  13.  
  14. #ifdef    XMAIN_PROGRAM
  15. #define XGLOBAL
  16. #else
  17. #define XGLOBAL extern
  18. #endif
  19.  
  20. #include <X11/Intrinsic.h>
  21. #include <Xm/Xm.h>
  22. #include <Xm/DrawingA.h>
  23. #include <X11/StringDefs.h>
  24.  
  25. XGLOBAL Display     *Disp;
  26. XGLOBAL GC            Mode;
  27. XGLOBAL Pixel        Black,White;
  28. XGLOBAL Window        Wind;
  29. XGLOBAL XFontStruct *MyFont;
  30. XGLOBAL Widget        Canvas;
  31. XGLOBAL Widget        Toplevel;
  32. XGLOBAL Arg         Wargs[10];
  33. XGLOBAL Pixmap        MenuPix;
  34. XGLOBAL Pixmap        ToolPix;
  35. XGLOBAL Pixmap        MiscPix;
  36. XGLOBAL Pixmap        SplashPix;
  37. XGLOBAL XEvent        MyEvent;
  38. XGLOBAL int         DownTrigger;
  39. XGLOBAL int         MainDisable;                /*    Disables clicks in main window. */
  40. XGLOBAL char        CurFileName[MAXFILENAME];    /*    Let's hope paths get no longer! */
  41. XGLOBAL char        *DestFileName;
  42.  
  43. #define INITIAL_WIDTH    500
  44. #define INITIAL_HEIGHT    400
  45.